package com.ereach.animal;

public class Cat extends Mammal {
    public Cat() {

    }

    public Cat(String name) {
        super(name);
    }

    public String sayHello() {
        return "Hello, cat is here!";
    }

    @Override
    public String toString() {
        System.out.println(this.name);
        return "Cat { " + super.toString() + " }";
    }
}
